package heven.holt.wan.android.api

import heven.holt.wan.android.model.ArticleModel
import heven.holt.wan.android.model.BaseModel
import heven.holt.wan.android.model.BasePageModel
import retrofit2.http.GET
import retrofit2.http.Path

interface ApiWanQaServer {
    @GET("wenda/list/{page}/json")
    suspend fun getQaQuizList(@Path("page") page: Int): BaseModel<BasePageModel<ArticleModel>>

    @GET("user_article/list/{page}/json")
    suspend fun getQaSquareList(@Path("page") page: Int): BaseModel<BasePageModel<ArticleModel>>
}